<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">
<h:head>
	<h:outputStylesheet library="css" name="style.css" />
	<title>SGC Web</title>
</h:head>
<h:body>
	<!-- 	<h:graphicImage url="/resources/images/Logo_small.jpg"></h:graphicImage> -->
	<h:panelGrid columns="1">
		<h:outputLabel styleClass="title" value="SGC Web" />
	</h:panelGrid>
	<p:spacer height="10" />
	<h:form>
		<p:panel header="Login">
			<h:panelGroup styleClass="alignmentRight" >
				<h:panelGrid columns="2" columnsClasses="alignmentRight" border="0">
					<h:outputLabel value="Usuario:" />
					<h:inputText value="#{checkUserBean.name}" />
					<h:outputLabel value="Clave:" />
					<h:inputSecret value="#{checkUserBean.pass}" />
					<p:commandButton value="Login" title="Login"
						actionListener="#{checkUserBean.login }" icon=".ui-icon-key"
						update="msgs" />
				</h:panelGrid>
			</h:panelGroup>
		</p:panel>
		<h:panelGrid columns="1">
			<p:messages id="msgs" />
		</h:panelGrid>
	</h:form>
	<p:spacer height="300" />
	<address>Net Studio</address>
</h:body>
</html>